using Rsd.Dudu;
using Rsd.Dudu.ModelProvider;
using Rsd.Dudu.ORM;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace Rsd.Faith.Models
{
    /// <summary>
    /// 银行存款利息表
    /// </summary>
    [Table("bank_银行利率表", "bank__li_lv_biao", "id")]
    [Serializable]
    public class BankLiLvModel : Rsd.Faith.Core.ModelBase
    {

        /// <summary>
        /// 银行编号
        /// </summary>
        [StringType("yin_hang_bian_hao", "银行编号", 20, 20,"0000")]
        [DisplayName("银行编号")]
        public string YinHangBianHao { get; set; }

        /// <summary>
        /// 银行名称
        /// </summary>
        [StringType("yin_hang_ming_cheng", "银行名称", 22, 50,"央行")]
        [DisplayName("银行名称")]
        public string YinHangMingCheng { get; set; }

        /// <summary>
        /// 调整时间
        /// </summary>
        [DateTimeFormat("yyyy-MM-dd")]
        [DateTimeType("tiao_zheng_shi_jian", "调整时间", 23,3)]
        [DisplayName("调整时间")]
        public DateTime TiaoZhengShiJian { get; set; }

        /// <summary>
        /// 活期利率
        /// </summary>
        [NumericType("huo_qi_li_lv", "活期利率", 24, 10, 3)]
        [DisplayName("活期利率")]
        public decimal HuoQiLiLv { get; set; }

        /// <summary>
        /// 三月定期利率
        /// </summary>
        [NumericType("ding_qi_li_lv_3m", "三月定期利率", 26, 10, 3)]
        [DisplayName("三月定期利率")]
        public decimal DingQiLiLv_3M { get; set; }

        // <summary>
        /// 半年定期利率
        /// </summary>
        [NumericType("ding_qi_li_lv_6m", "半年定期利率", 28, 10, 3)]
        [DisplayName("半年定期利率")]
        public decimal DingQiLiLv_6M { get; set; }

        // <summary>
        /// 一年期固定利率
        /// </summary>
        [NumericType("ding_qi_li_lv_1y", "一年期固定利率", 30, 10, 3)]
        [DisplayName("一年期固定利率")]
        public decimal DingQiLiLv_1Y { get; set; }

        // <summary>
        /// 二年定期利率
        /// </summary>
        [NumericType("ding_qi_li_lv_2y", "二年定期利率", 32, 10, 3)]
        [DisplayName("二年定期利率")]
        public decimal DingQiLiLv_2Y { get; set; }

        // <summary>
        /// 三年定期利率
        /// </summary>
        [NumericType("ding_qi_li_lv_3y", "三年定期利率", 34, 10, 3)]
        [DisplayName("三年定期利率")]
        public decimal DingQiLiLv_3Y { get; set; }

        // <summary>
        /// 五年定期利率
        /// </summary>
        [NumericType("ding_qi_li_lv_5y", "五年定期利率", 36, 10, 3)]
        [DisplayName("五年定期利率")]
        public decimal DingQiLiLv_5Y { get; set; }

       
        
        /// <summary>
        /// 
        /// </summary>
        public BankLiLvModel()
        { }

    }
}
